package com.dstz.demo.core.model;

//项目的详细信息
public class ProjectDetails {
    private Integer id;
    private String projectID;
    private String taskNumber;
    private String taskName;
    private String offerPrice;//报价单价
    private String offerMoney; //报价金额
    private String Third;
    private String bz;
    private String number;
    private String dw;
    private String hours;
    private String Cost;
    private String cl;
    private String fb;
    private String tool;
    private String qt;
    private String hj;
    private String hte;
    private String se;
    private String hshj;
    private String status;
    private String zxm;

    public ProjectDetails() {
    }

    public ProjectDetails(String offerPrice, String offerMoney, String taskNumber, String taskName, String number, String dw, String hours, String cost, String cl, String fb, String tool, String qt, String hj, String se, String hshj, String zxm) {
        this.offerMoney = offerMoney;
        this.offerPrice = offerPrice;
        this.taskNumber = taskNumber;
        this.taskName = taskName;
        this.number = number;
        this.dw = dw;
        this.hours = hours;
        this.Cost = cost;
        this.cl = cl;
        this.fb = fb;
        this.tool = tool;
        this.qt = qt;
        this.hj = hj;
        this.se = se;
        this.hshj = hshj;
        this.zxm = zxm;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectID() {
        return projectID;
    }

    public void setProjectID(String projectID) {
        this.projectID = projectID;
    }

    public String getTaskNumber() {
        return taskNumber;
    }

    public void setTaskNumber(String taskNumber) {
        this.taskNumber = taskNumber;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getOfferPrice() {
        return offerPrice;
    }

    public void setOfferPrice(String offerPrice) {
        this.offerPrice = offerPrice;
    }

    public String getOfferMoney() {
        return offerMoney;
    }

    public void setOfferMoney(String offerMoney) {
        this.offerMoney = offerMoney;
    }

    public String getThird() {
        return Third;
    }

    public void setThird(String third) {
        Third = third;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getDw() {
        return dw;
    }

    public void setDw(String dw) {
        this.dw = dw;
    }

    public String getHours() {
        return hours;
    }

    public void setHours(String hours) {
        this.hours = hours;
    }

    public String getCost() {
        return Cost;
    }

    public void setCost(String cost) {
        Cost = cost;
    }

    public String getCl() {
        return cl;
    }

    public void setCl(String cl) {
        this.cl = cl;
    }

    public String getFb() {
        return fb;
    }

    public void setFb(String fb) {
        this.fb = fb;
    }

    public String getTool() {
        return tool;
    }

    public void setTool(String tool) {
        this.tool = tool;
    }

    public String getQt() {
        return qt;
    }

    public void setQt(String qt) {
        this.qt = qt;
    }

    public String getHj() {
        return hj;
    }

    public void setHj(String hj) {
        this.hj = hj;
    }

    public String getHte() {
        return hte;
    }

    public void setHte(String hte) {
        this.hte = hte;
    }

    public String getSe() {
        return se;
    }

    public void setSe(String se) {
        this.se = se;
    }

    public String getHshj() {
        return hshj;
    }

    public void setHshj(String hshj) {
        this.hshj = hshj;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getZxm() {
        return zxm;
    }

    public void setZxm(String zxm) {
        this.zxm = zxm;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ProjectDetails that = (ProjectDetails) o;

        if (taskNumber != null ? !taskNumber.equals(that.taskNumber) : that.taskNumber != null) return false;
        if (taskName != null ? !taskName.equals(that.taskName) : that.taskName != null) return false;
        if (offerPrice != null ? !offerPrice.equals(that.offerPrice) : that.offerPrice != null) return false;
        if (offerMoney != null ? !offerMoney.equals(that.offerMoney) : that.offerMoney != null) return false;
        if (Third != null ? !Third.equals(that.Third) : that.Third != null) return false;
        if (bz != null ? !bz.equals(that.bz) : that.bz != null) return false;
        if (number != null ? !number.equals(that.number) : that.number != null) return false;
        if (dw != null ? !dw.equals(that.dw) : that.dw != null) return false;
        if (hours != null ? !hours.equals(that.hours) : that.hours != null) return false;
        if (Cost != null ? !Cost.equals(that.Cost) : that.Cost != null) return false;
        if (cl != null ? !cl.equals(that.cl) : that.cl != null) return false;
        if (fb != null ? !fb.equals(that.fb) : that.fb != null) return false;
        if (tool != null ? !tool.equals(that.tool) : that.tool != null) return false;
        if (qt != null ? !qt.equals(that.qt) : that.qt != null) return false;
        if (hj != null ? !hj.equals(that.hj) : that.hj != null) return false;
        if (hte != null ? !hte.equals(that.hte) : that.hte != null) return false;
        if (se != null ? !se.equals(that.se) : that.se != null) return false;
        if (hshj != null ? !hshj.equals(that.hshj) : that.hshj != null) return false;
        return zxm != null ? zxm.equals(that.zxm) : that.zxm == null;
    }

    @Override
    public int hashCode() {
        int result = taskNumber != null ? taskNumber.hashCode() : 0;
        result = 31 * result + (taskName != null ? taskName.hashCode() : 0);
        result = 31 * result + (offerPrice != null ? offerPrice.hashCode() : 0);
        result = 31 * result + (offerMoney != null ? offerMoney.hashCode() : 0);
        result = 31 * result + (Third != null ? Third.hashCode() : 0);
        result = 31 * result + (bz != null ? bz.hashCode() : 0);
        result = 31 * result + (number != null ? number.hashCode() : 0);
        result = 31 * result + (dw != null ? dw.hashCode() : 0);
        result = 31 * result + (hours != null ? hours.hashCode() : 0);
        result = 31 * result + (Cost != null ? Cost.hashCode() : 0);
        result = 31 * result + (cl != null ? cl.hashCode() : 0);
        result = 31 * result + (fb != null ? fb.hashCode() : 0);
        result = 31 * result + (tool != null ? tool.hashCode() : 0);
        result = 31 * result + (qt != null ? qt.hashCode() : 0);
        result = 31 * result + (hj != null ? hj.hashCode() : 0);
        result = 31 * result + (hte != null ? hte.hashCode() : 0);
        result = 31 * result + (se != null ? se.hashCode() : 0);
        result = 31 * result + (hshj != null ? hshj.hashCode() : 0);
        result = 31 * result + (zxm != null ? zxm.hashCode() : 0);
        return result;
    }
}
